package com.springboot.hiresystem.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName search_history
 */
@TableName(value ="search_history")
@Data
public class SearchHistory implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer searchId;

    /**
     * 
     */
    private Integer userId;

    /**
     * 
     */
    private String keyWords;

    /**
     * 
     */
    private Date searchedAt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}